<!--
 * @Date: 2021-11-30 15:42:07
 * @LastEditors: 春贰
 * @Desc: 
 * @LastEditTime: 2022-03-09 09:34:08
 * @FilePath: \web\src\component\icon\src\index.vue
-->
<template>
    <component :is="$antIcons[type]" :style="{  fontSize: size }"/>
</template>
<script>
export default {
    props: {
        type: {
            type: String,
            required: true
        },
        size: {
            type: String,
            required: false,
            default: "16px"
        }
    },
    name: "go2-icon"
}
</script>